<%--
  Created by IntelliJ IDEA.
  User: zhangl
  Date: 2019-10-23
  Time: 20:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <meta charset="UTF-8">
    <title></title>
  </head>
  <body>

  <a href="${pageContext.request.contextPath}/login.jsp">登录系统</a><br>
  <a href="${pageContext.request.contextPath}/admin/home.jsp">进入系统</a>

  <hr>

  <form action="${pageContext.request.contextPath}/uploadImgTest"
        method="post" enctype="multipart/form-data">
    <input type="file" name="myFile">
    <input type="submit" value="上传">
  </form>

  <hr>

  图片

  <img src="${pageContext.request.contextPath}${imgUrl}" />


  idididid: ${param.id}

  </body>
</html>
